﻿namespace CleanArchitecture.Web.Controllers.Frontend.FrontendApi
{
    /// <summary>
    /// DavidLee 所有前端的API路由在此注册，方便查找及重复排查
    /// </summary>
    public static class FrontendApiRouteConfig
    {
        #region Login/Logout
        public const string LoginApiRoute = "api/frontend/login";
        public const string LogoutApiRoute = "api/frontend/logout";
        #endregion

        #region Column
        public const string FrontendGetColumnTree = "/api/frontend/getcolumntree";
        #endregion

        #region CommonComponents
        public const string FrontendGetAdvertiseData = "/api/frontend/advertise/getadvertisebyhash";
        public const string FrontendGetAdvertiseData4Mobile = "/api/frontend/advertise/getadvertisebyid";
        public const string FrontendSearchService = "/api/frontend/searchengine/searchservice";
        public const string FrontendLoadClientSettings = "/api/frontend/common/getclientsettings";
        #endregion

        #region News
        public const string FrontendLoadNewsList = "/api/frontend/news/getnewslist";
        public const string FrontendLoadNewsList4Mobile = "/api/frontend/news/getnewslistmobile";
        public const string FrontendLoadNewsDetail = "/api/frontend/news/getnewsdetail";
        public const string FrontendLoadNewsDetailsByColumnIds = "/api/frontend/news/getnewsdetailsbycolumnids";
        public const string FrontendLoadNewsDetailsForEachColumn = "/api/frontend/news/getnewsdetailsforeachcolumn";
        #endregion

        #region Blog
        public const string FrontendLoadBlogList = "/api/frontend/blog/getbloglist";
        public const string FrontendLoadHotBlogList = "/api/frontend/blog/gethotbloglist";
        public const string FrontendLoadBlogDetail = "/api/frontend/blog/getblogdetail";
        public const string FrontendLogLikeBlogEvent = "/api/frontend/blog/loglikeblog";
        #endregion
    }
}
